Google\Ads\GoogleAds\Lib\OAuth2TokenBuilder S

Total Complexity 30
Dependencies 7
Dependents 0
Total lines 249
Lines of code 111
Logical lines of code 43
Comment lines 90
Methods 17
Properties 6

Methods 17

Method Rating Maintainability Complexity Lines of code
validate()
A
51 13 29
build()
S
58 2 17
fromEnvironmentVariablesConfiguration()
S
62 1 12
getScopes()
S
82 1 3
getJsonKeyFilePath()
S
82 1 3
getRefreshToken()
S
82 1 3
getClientSecret()
S
82 1 3
getClientId()
S
82 1 3
from()
S
64 1 9
defaultOptionals()
S
91 1 2
withImpersonatedEmail()
S
77 1 4
withScopes()
S
77 1 4
withJsonKeyFilePath()
S
77 1 4
withRefreshToken()
S
77 1 4
withClientSecret()
S
77 1 4
withClientId()
S
77 1 4
getImpersonatedEmail()
S
82 1 3